import Vue from 'vue';
import Router from 'vue-router';

Vue.use(Router);

export default new Router({
    routes: [
        {
            path: '/',
            redirect: '/dashboard'
        },
        {
            path: '/',
            component: resolve => require(['../components/common/Home.vue'], resolve),
            meta: { title: '自述文件' },
            children:[
                {
                    path: '/xingyiPay',
                    component: resolve => require(['../components/page/entryManagement/xingyiPay/index.vue'], resolve),
                    meta: { title: '星驿付进件' }
                },
                {
                    path: '/convergeEntry',
                    component: resolve => require(['../components/page/entryManagement/convergeEntry/index.vue'], resolve),
                    meta: { title: '汇聚进件' }
                },
                {
                    path: '/remittanceEntry',
                    component: resolve => require(['../components/page/entryManagement/remittanceEntry/index.vue'], resolve),
                    meta: { title: '汇付进件' }
                },
                {
                    path: '/entryManagement',
                    component: resolve => require(['../components/page/entryManagement/index.vue'], resolve),
                    meta: { title: '商户进件' }
                },
                {
                    path: '/detailMerchant',
                    component: resolve => require(['../components/page/merchantSharing/detailMerchant.vue'], resolve),
                    meta: { title: '账户信息' }
                },
                {
                    path: '/appManagement',
                    component: resolve => require(['../components/page/appManagement.vue'], resolve),
                    meta: { title: 'app管理' }
                },
                {
                    path: '/editMerchant',
                    component: resolve => require(['../components/page/merchantSharing/addMerchant.vue'], resolve),
                    meta: { title: '编辑账户' }
                },
                {
                    path: '/addMerchant',
                    component: resolve => require(['../components/page/merchantSharing/addMerchant.vue'], resolve),
                    meta: { title: '创建账户' }
                },
                {
                    path: '/merchantSharing',
                    component: resolve => require(['../components/page/merchantSharing/index.vue'], resolve),
                    meta: { title: '创建账户' }
                },
                {
                    path: '/merchandiseManagement',
                    component: resolve => require(['../components/page/appletManagement/merchandiseManagement.vue'], resolve),
                    meta: { title: '商品管理' }
                },
                {
                    path: '/merchantManagements',
                    component: resolve => require(['../components/page/appletManagement/merchantManagement3.0.vue'], resolve),
                    meta: { title: '商户管理' }
                },
                {
                    path: '/appletManagements',
                    component: resolve => require(['../components/page/appletManagement/index.vue'], resolve),
                    meta: { title: '小程序管理' }
                },
                {
                    path: '/bannerManagements',
                    component: resolve => require(['../components/page/appletManagement/bannerManagement.vue'], resolve),
                    meta: { title: 'banner管理' }
                },
                {
                    path: '/storeListManagements',
                    component: resolve => require(['../components/page/appletManagement/storeListManagement.vue'], resolve),
                    meta: { title: '门店管理' }
                },
                {
                    path: '/missionRedEnvelope',
                    component: resolve => require(['../components/page/appletManagement/missionRedEnvelope.vue'], resolve),
                    meta: { title: '任务红包' }
                },
                {
                    path: '/orderListManagement',
                    component: resolve => require(['../components/page/appletManagement/orderListManagement.vue'], resolve),
                    meta: { title: '订单管理' }
                },
                {
                    path: '/storeListManagement',
                    component: resolve => require(['../components/page/appletManagement/storeListManagement.vue'], resolve),
                    meta: { title: '门店管理' }
                },
                {
                    path: '/cyclePayShop',
                    component: resolve => require(['../components/page/appletManagement/cyclePayShop.vue'], resolve),
                    meta: { title: '商品管理' }
                },
                {
                    path: '/classification',
                    component: resolve => require(['../components/page/classification.vue'], resolve),
                    meta: { title: '配置分类' }
                },
                {
                    path: '/systemSettings',
                    component: resolve => require(['../components/page/systemSettings.vue'], resolve),
                    meta: { title: '系统设置' }
                },
                {
                    path: '/bannerManagement',
                    component: resolve => require(['../components/page/appletManagement/bannerManagement.vue'], resolve),
                    meta: { title: 'banner管理' }
                },
                {
                    path: '/finishManagement',
                    component: resolve => require(['../components/page/appletManagement/finishManagement.vue'], resolve),
                    meta: { title: '订购管理' }
                },
                {
                    path: '/selectMerchantType',
                    component: resolve => require(['../components/page/appletManagement/selectMerchantType.vue'], resolve),
                    meta: { title: '商户管理' }
                },
                {
                    path: '/appletManagement',
                    component: resolve => require(['../components/page/appletManagement/index.vue'], resolve),
                    meta: { title: '小程序管理' }
                },
                {
                    path: '/orderManagement',
                    component: resolve => require(['../components/page/payPassManage/orderManagement.vue'], resolve),
                    meta: { title: '缴费订单' }
                },
                {
                    path: '/templateManagement',
                    component: resolve => require(['../components/page/payPassManage/templateManagement.vue'], resolve),
                    meta: { title: '模板管理' }
                },
                {
                    path: '/dashboard',
                    component: resolve => require(['../components/page/Dashboard.vue'], resolve),
                    meta: { title: '系统首页' }
                },
                {
                    path: '/mymerchants',
                    component: resolve => require(['../components/page/mymerchants.vue'], resolve),
                    meta: {title: '我的商户' }
                },
                {
                    path: '/queryAllCouponChannel',
                    component: resolve => require(['../components/page/queryAllCouponChannel.vue'], resolve),
                    meta: {title: '核销配置' }
                },
                {
                    path: '/merchantsinfo',
                    component: resolve => require(['../components/page/merchantsinfo.vue'], resolve),
                    meta: { title: '商户详情' }
                },
                {
                    path: '/ElectronicAccountinfo',
                    component: resolve => require(['../components/page/ElectronicAccountinfo.vue'], resolve),
                    meta: { title: '电子账户详情' }
                },
                {
                    path: '/stores',
                    component: resolve => require(['../components/page/stores.vue'], resolve),
                    meta: { title: '我的门店' }
                },
                {
                    path: '/storesinfo',
                    component: resolve => require(['../components/page/storesinfo.vue'], resolve),
                    meta: { title: '门店详情' }
                },
                {
                    path: '/userinfo',
                    component: resolve => require(['../components/page/userinfo.vue'], resolve),
                    meta: { title: '用户信息' }
                },
                {
                    path: '/refresh',
                    component: resolve => require(['../components/page/refresh.vue'], resolve),
                    meta: { title: '刷新' }
                },
                {
                    path: '/channel',
                    component: resolve => require(['../components/page/channel.vue'], resolve),
                    meta: { title: '机构管理' }
                },
                {
                    path: '/audit',
                    component: resolve => require(['../components/page/audit.vue'], resolve),
                    meta: { title: '进件审核' }
                },
                {
                    path: '/auditdetails',
                    component: resolve => require(['../components/page/auditdetails.vue'], resolve),
                    meta: { title: '审核' }
                },
                {
                    path: '/serviceproviders',
                    component: resolve => require(['../components/page/serviceproviders.vue'], resolve),
                    meta: { title: '服务商' }
                },
                {
                    path: '/serviceprovidersinfo',
                    component: resolve => require(['../components/page/serviceprovidersinfo.vue'], resolve),
                    meta: { title: '服务商详情' }
                },
                {
                    path: '/bdlist',
                    component: resolve => require(['../components/page/bdlist.vue'], resolve),
                    meta: { title: '业务经理' }
                },
                {
                    path: '/account',
                    component: resolve => require(['../components/page/account.vue'], resolve),
                    meta: { title: '账号管理' }
                },
                {
                    path: '/bdinfo',
                    component: resolve => require(['../components/page/bdinfo.vue'], resolve),
                    meta: { title: '业务经理详情' }
                },
                {
                    path: '/indent',
                    component: resolve => require(['../components/page/indent.vue'], resolve),
                    meta: { title: '全部订单' }
                },
                {
                    path: '/indentZhenjia',
                    component: resolve => require(['../components/page/indentZhenjia.vue'], resolve),
                    meta: { title: '正佳订单查询' }
                },
                {
                    path: '/indentTwo',
                    component: resolve => require(['../components/page/indentTwo.vue'], resolve),
                    meta: { title: '全部订单' }
                },
                {
                    path: '/refundlist',
                    component: resolve => require(['../components/page/refundList.vue'], resolve),
                    meta: { title: '退款订单' }
                },
                {
                    path: '/businessstatistics',
                    component: resolve => require(['../components/page/businessstatistics.vue'], resolve),
                    meta: {title: '商户交易统计' }
                },
                {
                    path: '/businessstatisticsinfo',
                    component: resolve => require(['../components/page/businessstatisticsinfo.vue'], resolve),
                    meta: { title: '商户统计详情' }
                },
                {
                    path: '/merRefundStat',
                    component: resolve => require(['../components/page/merRefundStat.vue'], resolve),
                    meta: {title: '商户退款统计' }
                },
                {
                    path: '/merRefundStatInfo',
                    component: resolve => require(['../components/page/merRefundStatInfo.vue'], resolve),
                    meta: { title: '商户退款统计详情' }
                },
                {
                    path: '/servicedealTransactionDetails',
                    component: resolve => require(['../components/page/servicedealTransactionDetails.vue'], resolve),
                    meta: { title: '服务商交易统计详情' }
                },
                {
                    path: '/storestrading',
                    component: resolve => require(['../components/page/storestrading.vue'], resolve),
                    meta: { title: '门店日结' }
                },
                {
                    path: '/storestradings',
                    component: resolve => require(['../components/page/storestradings.vue'], resolve),
                    meta: { title: '门店交易统计' }
                },
                {
                    path: '/quotaPackageStatistics',
                    component: resolve => require(['../components/page/quotaPackageStatistics.vue'], resolve),
                    meta: { title: '额度包统计' }
                },
                {
                    path: '/TerminalTransactionStatistics',
                    component: resolve => require(['../components/page/TerminalTransactionStatistics.vue'], resolve),
                    meta: { title: '终端交易统计' }
                },
                {
                    path: '/shopRefundStat',
                    component: resolve => require(['../components/page/shopRefundStat.vue'], resolve),
                    meta: { title: '门店退款统计' }
                },
                {
                    path: '/servicedeal',
                    component: resolve => require(['../components/page/servicedeal.vue'], resolve),
                    meta: { title: '服务商交易统计' }
                },
                {
                    path: '/sharestats',
                    component: resolve => require(['../components/page/sharestats.vue'], resolve),
                    meta: { title: '分润统计' }
                },
                {
                    path: '/bankcurtain',
                    component: resolve => require(['../components/page/bankcurtain.vue'], resolve),
                    meta: { title: '银行到账查询' }
                },
                {
                    path: '/clearingcurtain',
                    component: resolve => require(['../components/page/clearingcurtain.vue'], resolve),
                    meta: { title: '清算查询' }
                },
                {
                    path: '/eqcode',
                    component: resolve => require(['../components/page/eqcode.vue'], resolve),
                    meta: { title: '二维码管理' }
                },
                {
                    path: '/terminal',
                    component: resolve => require(['../components/page/terminal.vue'], resolve),
                    meta: { title: '终端管理' }
                },
                {
                    path: '/facility',
                    component: resolve => require(['../components/page/facility.vue'], resolve),
                    meta: { title: '设备管理' }
                },
                {
                    path: '/Inventory',
                    component: resolve => require(['../components/page/Inventory.vue'], resolve),
                    meta: { title: '库存管理' }
                },
                {
                    path: '/system',
                    component: resolve => require(['../components/page/system.vue'], resolve),
                    meta: { title: '系统菜单',permission: true }
                },
                {
                    path:'/certificateUpload',
                    component: resolve => require(['../components/page/certificateUpload.vue'], resolve),
                    meta: { title: '证书上传'}

                },
                {
                    path: '/role',
                    component: resolve => require(['../components/page/role.vue'], resolve),
                    meta: { title: '角色管理'}
                },
                {
                    path: '/oemrole',
                    component: resolve => require(['../components/page/oemrole.vue'], resolve),
                    meta: { title: 'oem菜单配置'}
                },
                {
                    path: '/log',
                    component: resolve => require(['../components/page/log.vue'], resolve),
                    meta: { title: '日志管理' }
                },
                {
                    path: '/labelManagement',
                    component: resolve => require(['../components/page/labelManagement.vue'], resolve),
                    meta: { title: '标签管理' }
                },
                {
                    path: '/labelDetails',
                    component: resolve => require(['../components/page/labelDetails.vue'], resolve),
                    meta: { title: '标签详情' }
                },
                {
                    path: '/indentdetails',
                    component: resolve => require(['../components/page/indentdetails.vue'], resolve),
                    meta: { title: '订单详情' }
                },
                {
                    path: '/tradesplit',
                    component: resolve => require(['../components/page/Tradesplit.vue'], resolve),
                    meta: { title: '分账查询' }
                },
                {
                    path: '/channelverification',
                    component: resolve => require(['../components/page/channelverification.vue'], resolve),
                    meta: { title: '优惠券核销' }
                },
                {
                    path: '/codecustom',
                    name: 'Codecustom',
                    component: resolve => require(['../components/page/codecustom.vue'], resolve),
                    meta: { title: '优惠券通道定制' }
                },
                {
                    path: '/tradedetail',
                    component: resolve => require(['../components/page/TradeDetails.vue'], resolve),
                    meta: { title: '分账详情' }
                },
                {
                    path: '/addmerchants',
                    component: resolve => require(['../components/page/addmerchants.vue'], resolve),
                    meta: { title: '新增商户' }
                },
                {
                    path: '/auditrejectionlist',
                    component: resolve => require(['../components/page/auditrejectionlist.vue'], resolve),
                    meta: { title: '审核驳回列表' } //审核驳回列表
                },
                {
                    path: '/copymerchants',
                    component: resolve => require(['../components/page/copymerchants.vue'], resolve),
                    meta: { title: '复制商户' } //复制商户
                },
                {
                    path: '/altermerchants',
                    component: resolve => require(['../components/page/altermerchants.vue'], resolve),
                    meta: { title: '修改商户' } //修改商户
                },
                {
                    path: '/addmerdetails',
                    component: resolve => require(['../components/page/addmerdetails.vue'], resolve),
                    meta: { title: '详情' } //进件详情
                },
                {
                    path: '/Advertisinglist',
                    component: resolve => require(['../components/page/Advertisinglist.vue'], resolve),
                    meta: { title: '广告管理' } //广告管理
                },
                {
                    path: '/AdvertisingMaterial',
                    component: resolve => require(['../components/page/AdvertisingMaterial.vue'], resolve),
                    meta: { title: '广告素材' } //广告素材
                },
                {
                    path: '/oemset',
                    component: resolve => require(['../components/page/oemset.vue'], resolve),
                    meta: { title: '平台配置' } //平台配置
                },
                {
                    path: '/recharge',
                    component: resolve => require(['../components/page/recharge.vue'], resolve),
                    meta: { title: '充值' } //充值
                },
                {
                    path: '/merchantrecharge',
                    component: resolve => require(['../components/page/merchantrecharge.vue'], resolve),
                    meta: { title: '商户充值' } //商户充值
                },
                {
                    path: '/channeldetails',
                    component: resolve => require(['../components/page/channeldetails.vue'], resolve),
                    meta: { title: '机构详情' } //机构详情
                },
                {
                    path: '/goodsmanagement',
                    component: resolve => require(['../components/page/goodsmanagement.vue'], resolve),
                    meta: { title: '商品详情' } //商品详情
                },
                {
                    path: '/goodsentry',
                    component: resolve => require(['../components/page/goodsentry.vue'], resolve),
                    meta: { title: '商品录入' } //商品录入
                },
                {
                    path: '/rentalbill',
                    component: resolve => require(['../components/page/rentalbill.vue'], resolve),
                    meta: { title: '租赁账单' } //租赁账单
                },
                {
                    path: '/orderdetails',
                    component: resolve => require(['../components/page/orderdetails.vue'], resolve),
                    meta: { title: '订单详情' } //订单详情
                },
                {
                    path: '/goodsorder',
                    component: resolve => require(['../components/page/goodsorder.vue'], resolve),
                    meta: { title: '商品订单' } //商品订单
                },
                {
                    path: '/bill',
                    component: resolve => require(['../components/page/bill.vue'], resolve),
                    meta: { title: '对账单' } //对账单
                },
                {
                    path: '/timingtask',
                    component: resolve => require(['../components/page/timingtask.vue'], resolve),
                    meta: { title: '定时任务' } //定时任务
                },
                {
                    path: '/bdtradestatistics',
                    component: resolve => require(['../components/page/bdtradestatistics.vue'], resolve),
                    meta: { title: '业务经理交易统计' } //定时任务
                },
                {
                    path: '/exportlist',
                    name: 'Exportlist',
                    component: resolve => require(['../components/page/exportlist.vue'], resolve),
                    meta: { title: '导出列表' } //导出列表
                },
                {
                    path: '/channelcustom',
                    component: resolve => require(['../components/page/channelcustom.vue'], resolve),
                    meta: { title: '通道定制' } //通道定制
                },
                {
                    path: '/AccessControl',
                    component: resolve => require(['../components/page/AccessControl.vue'], resolve),
                    meta: { title: '通道管理' } //通道定制
                },
                {
                    path: '/addChannel',
                    component: resolve => require(['../components/page/addChannel.vue'], resolve),
                    meta: { title: '新增通道' } //通道定制
                }, 
                {
                    path: '/ModifyChannels',
                    component: resolve => require(['../components/page/ModifyChannels.vue'], resolve),
                    meta: { title: '修改通道' } //通道定制
                }, 
                {
                    path: '/historyorder',
                    component: resolve => require(['../components/page/historyorder.vue'], resolve),
                    meta: { title: '历史订单' } 
                },
                {
                    path: '/historyexportlist',
                    component: resolve => require(['../components/page/historyexportlist.vue'], resolve),
                    meta: { title: '历史订单导出列表' } 
                },
                {
                    path: '/historyindentdetails',
                    component: resolve => require(['../components/page/historyindentdetails.vue'], resolve),
                    meta: { title: '历史订单详情' } 
                },
                {
                    path: '/ccbcoupon',
                    component: resolve => require(['../components/page/ccbcoupon.vue'], resolve),
                    meta: { title: '建行活动' } //建行活动
                },
                {
                    path: '/CouponiLst',
                    component: resolve => require(['../components/page/CouponiLst.vue'], resolve),
                    meta: { title: '优惠券列表' } //优惠券列表
                },
                {
                    path: '/CouponiLstDetailed',
                    component: resolve => require(['../components/page/CouponiLstDetailed.vue'], resolve),
                    meta: { title: '优惠券详情' } //优惠券详情
                },
                {
                    path: '/CodeVerification',
                    component: resolve => require(['../components/page/CodeVerification.vue'], resolve),
                    meta: { title: '银行核券' } //券码核销
                },
                {
                    path: '/PlatCouponVer',
                    component: resolve => require(['../components/page/PlatCouponVer.vue'], resolve),
                    meta: { title: '公域核券' } 
                },
                {
                    path: '/PrivateCouponVer',
                    component: resolve => require(['../components/page/PrivateCouponVer.vue'], resolve),
                    meta: { title: '私域核券' } 
                },
                {
                    path: '/verification',
                    component: resolve => require(['../components/page/verification.vue'], resolve),
                    meta: { title: '订单核销' } //订单核销
                },
                {
                    path: '/VerificationRecords',
                    component: resolve => require(['../components/page/VerificationRecords.vue'], resolve),
                    meta: { title: '核销记录' } //核销记录
                },
                {
                    path: '/cxparticulars',
                    component: resolve => require(['../components/page/cxparticulars.vue'], resolve),
                    meta: { title: '核销详情' } //核销详情
                },
                {
                    path: '/hxexportlist',
                    component: resolve => require(['../components/page/hxexportlist.vue'], resolve),
                    meta: { title: '核销导出列表' } //核销导出列表
                },
                {
                    path: '/DictionaryManagement',
                    component: resolve => require(['../components/page/DictionaryManagement.vue'], resolve),
                    meta: { title: '字典管理' } //字典管理
                },
                {
                    path: '/formConfiguration',
                    component: resolve => require(['../components/page/formConfiguration.vue'], resolve),
                    meta: { title: '表单配置' } //表单配置
                },
                {
                    path: '/resource',
                    component: resolve => require(['../components/page/resource.vue'], resolve),
                    meta: { title: '资源管理' }
                 },
                {
                    path: '/yhqexportlist',
                    component: resolve => require(['../components/page/yhqexportlist.vue'], resolve),
                    meta: { title: '优惠券导出列表' } //优惠券导出列表
                },
                {
                    path: '/refundExportList',
                    component: resolve => require(['../components/page/refundExportList.vue'], resolve),
                    meta: { title: '退款导出列表' } //优惠券导出列表
                },
                {
                    path: '/ccbCouponDetail',
                    name: 'CcbCouponDetail',
                    component: resolve => require(['../components/page/ccbCouponDetail.vue'], resolve),
                    meta: { title: '分摊详情' } //分摊详情
                },
                {
                    path: '/icon',
                    component: resolve => require(['../components/page/Icon.vue'], resolve),
                    meta: { title: '自定义图标' }
                },
                {
                    path: '/table',
                    component: resolve => require(['../components/page/BaseTable.vue'], resolve),
                    meta: { title: '基础表格' }
                },
                {
                    path: '/tabs',
                    component: resolve => require(['../components/page/Tabs.vue'], resolve),
                    meta: { title: 'tab选项卡' }
                },
               
                {
                    // 富文本编辑器组件
                    path: '/editor',
                    component: resolve => require(['../components/page/VueEditor.vue'], resolve),
                    meta: { title: '富文本编辑器' }
                },
                {
                    // markdown组件
                    path: '/markdown',
                    component: resolve => require(['../components/page/Markdown.vue'], resolve),
                    meta: { title: 'markdown编辑器' }    
                },
                {
                    // 图片上传组件
                    path: '/upload',
                    component: resolve => require(['../components/page/Upload.vue'], resolve),
                    meta: { title: '文件上传' }   
                },
                {
                    // vue-schart组件
                    path: '/charts',
                    component: resolve => require(['../components/page/BaseCharts.vue'], resolve),
                    meta: { title: 'schart图表' }
                },
                {
                    // 拖拽列表组件
                    path: '/drag',
                    component: resolve => require(['../components/page/DragList.vue'], resolve),
                    meta: { title: '拖拽列表' }
                },
                {
                    // 拖拽Dialog组件
                    path: '/dialog',
                    component: resolve => require(['../components/page/DragDialog.vue'], resolve),
                    meta: { title: '拖拽弹框' }
                },
                {
                    // 权限页面
                    path: '/permission',
                    component: resolve => require(['../components/page/Permission.vue'], resolve),
                    meta: { title: '权限测试', permission: true }
                },
                {
                    // 验证码组件
                    path: '/identify',
                    component: resolve => require(['../components/page/identify.vue'], resolve),
                    meta: { title: '验证码', }
                },
                {
                    path: '/merPoint',
                    component: resolve => require(['../components/page/merPoint.vue'], resolve),
                    meta: { title: '商户流量包' }
                },
                {
                    path: '/404',
                    component: resolve => require(['../components/page/404.vue'], resolve),
                    meta: { title: '404' }
                },
                {
                    path: '/403',
                    component: resolve => require(['../components/page/403.vue'], resolve),
                    meta: { title: '403' }
                },
                {
                    path: 'splitrelation',
                    component: resolve => require(['../components/page/splitRelation.vue'], resolve),
                    meta: { title: '分账关系配置' }
                },
                {
                  path: 'defaultsplit',
                  component: resolve => require(['../components/page/defaultsplit.vue'], resolve),
                  meta: { title: '默认分账关系配置' }
                },
                {
                  path: '/defaultsplitdetail',
                  component: resolve => require(['../components/page/defaultsplitdetail.vue'], resolve),
                  meta: { title: '默认分账关系配置详情' }
                },
                {
                  path: '/yztmanage',
                  component: resolve => require(['../components/page/yztmanage.vue'], resolve),
                  meta: { title: '货单统计' }
                },
                {
                  path: '/maniaccount',
                  component: resolve => require(['../components/page/maniaccount.vue'], resolve),
                  meta: { title: '货单明细' }
                },
                {
                  path: '/maniaccountdetail',
                  component: resolve => require(['../components/page/maniaccountdetail.vue'], resolve),
                  meta: { title: '货单明细详情' }
                },
                {
                  path: '/manidetail',
                  component: resolve => require(['../components/page/manidetail.vue'], resolve),
                  meta: { title: '货单统计详情' }
                },
                {
                  path: '/splitcount',
                  component: resolve => require(['../components/page/splitcount.vue'], resolve),
                  meta: { title: '分账统计' }
                },
                {
                  path: '/splitcountdetail',
                  component: resolve => require(['../components/page/splitcountdetail.vue'], resolve),
                  meta: { title: '分账统计详情' }
                },
                {
                    path: 'icon',
                    component: resolve => require(['../components/page/Icon.vue'], resolve),
                    meta: { title: 'Icon预览' }
                },
                {
                    path: '/splitmerchants',
                    component: resolve => require(['../components/page/splitmerchants.vue'], resolve),
                    meta: { title: '分账商户查询' }
                },
                {
                    path: '/splitorders',
                    name: 'splitorders',
                    component: resolve => require(['../components/page/splitorders.vue'], resolve),
                    meta: { title: '分账记录查询' }
                },
                {
                    path: '/walletmember',
                    component: resolve => require(['../components/page/walletmember.vue'], resolve),
                    meta: {title: '电子账户查询' }
                },
                {
                    path: '/walletwithdraw',
                    component: resolve => require(['../components/page/walletwithdraw.vue'], resolve),
                    meta: {title: '提现记录查询' }
                },
                {
                    path: '/wallettrade',
                    component: resolve => require(['../components/page/wallettrade.vue'], resolve),
                    meta: {title: '转账记录查询' }
                },
                {
                    path: '/LedgerOrderQuery',
                    component: resolve => require(['../components/page/LedgerOrderQuery.vue'], resolve),
                    meta: {title: '分账订单查询' }
                },
                {
                    path: '/SplitOrderDetails',
                    name: 'SplitOrderDetails',
                    component: resolve => require(['../components/page/SplitOrderDetails.vue'], resolve),
                    meta: {title: '分账订单详细' }
                },
                {
                    path: '/WithdrawalDetails',
                    name: 'WithdrawalDetails',
                    component: resolve => require(['../components/page/WithdrawalDetails.vue'], resolve),
                    meta: {title: '提现详细' }
                },
                {
                    path: '/channelManagement',
                    name: 'channelManagement',
                    component: resolve => require(['../components/page/channelManagement.vue'], resolve),
                    meta: {title: '渠道管理' }
                },
            ]
        },
        {
            path: '/appMerchantDownload',
            component: resolve => require(['../components/page/appMerchantDownload.vue'], resolve),
        },
        {
            path: '/appDownload',
            component: resolve => require(['../components/page/appDownload.vue'], resolve),
        },
        {
            path: '/login',
            component: resolve => require(['../components/page/Login.vue'], resolve)
        },
        {
            path: '/cards',
            component: resolve => require(['../components/page/cards/cards.vue'], resolve)
        },
        {
            path: '/forgetpassword',
            component: resolve => require(['../components/page/forgetpassword.vue'], resolve)
        },
        {
            path: '*',
            redirect: '/404'
        }
    ]
})
